package com.springapp.model;

import javax.persistence.Entity;

/**
 * Created by Thomas on 30/08/14.
 */@Entity
public class LigneCommande {
    private int eIDLigneCommande;
    private int eIDArticle;
    private int eIDCommande;
    private String sRefCommande;
    private String sRefArticle;
    private String sLibelleArt;
    private String sSousCatArt;
    private int eQuantiteArt;
    private float fMontantHT;
    private float fMontantTTC;
    private float fTVA;
    private String sNomHypermarche;




    public LigneCommande() {
    }

    public LigneCommande(int eIDLigneCommande,  int eIDCommande, int eIDArticle,String sRefCommande, String sRefArticle, String sLibelleArt, String sSousCatArt,int eQuantiteArt, float fMontantHT, float fTVA, float fMontantTTC, String sNomHypermarche) {
        this.eIDLigneCommande = eIDLigneCommande;
        this.eIDCommande = eIDCommande;
        this.eIDArticle = eIDArticle;
        this.sRefCommande = sRefCommande;
        this.sRefArticle = sRefArticle;
        this.sLibelleArt = sLibelleArt;
        this.sSousCatArt = sSousCatArt;
        this.eQuantiteArt = eQuantiteArt;
        this.fMontantHT = fMontantHT;
        this.fTVA = fTVA;
        this.fMontantTTC = fMontantTTC;
        this.sNomHypermarche = sNomHypermarche;
    }

    public LigneCommande(String sRefCommande) {
        this.sRefCommande = sRefCommande;
    }


    public int geteIDLigneCommande() {
        return eIDLigneCommande;
    }

    public void seteIDLigneCommande(int eIDLigneCommande) {
        this.eIDLigneCommande = eIDLigneCommande;
    }

    public int geteIDArticle() {
        return eIDArticle;
    }

    public void seteIDArticle(int eIDArticle) {
        this.eIDArticle = eIDArticle;
    }

    public int geteIDCommande() {
        return eIDCommande;
    }

    public void seteIDCommande(int eIDCommande) {
        this.eIDCommande = eIDCommande;
    }

    public int geteQuantiteArt() {
        return eQuantiteArt;
    }

    public void seteQuantiteArt(int eQuantiteArt) {
        this.eQuantiteArt = eQuantiteArt;
    }

    public String getsRefCommande() {
        return sRefCommande;
    }

    public void setsRefCommande(String sRefCommande) {
        this.sRefCommande = sRefCommande;
    }

    public String getsRefArticle() {
        return sRefArticle;
    }

    public void setsRefArticle(String sRefArticle) {
        this.sRefArticle = sRefArticle;
    }

    public String getsLibelleArt() {
        return sLibelleArt;
    }

    public void setsLibelleArt(String sLibelleArt) {
        this.sLibelleArt = sLibelleArt;
    }

    public float getfMontantHT() {
        return fMontantHT;
    }

    public void setfMontantHT(float fMontantHT) {
        this.fMontantHT = fMontantHT;
    }

    public float getfMontantTTC() {
        return fMontantTTC;
    }

    public void setfMontantTTC(float fMontantTTC) {
        this.fMontantTTC = fMontantTTC;
    }

    public float getfTVA() {
        return fTVA;
    }

    public void setfTVA(float fTVA) {
        this.fTVA = fTVA;
    }

    public String getsNomHypermarche() {
        return sNomHypermarche;
    }

    public void setsNomHypermarche(String sNomHypermarche) {
        this.sNomHypermarche = sNomHypermarche;
    }
    public String getsSousCatArt() {
        return sSousCatArt;
    }

    public void setsSousCatArt(String sSousCatArt) {
        this.sSousCatArt = sSousCatArt;
    }
}
